import java.util.Scanner;

public class test {
    public static void main(String[] args) {
        /*Scanner sr = new Scanner(System.in);
        System.out.println("请输入第一个整数");
        int num1= sr.nextInt();
        System.out.println(num1);
        System.out.println("请输入第二个整数");
        int num2= sr.nextInt();
        System.out.println(num2);
        Scanner sr = new Scanner(System.in);
        System.out.println("请输入第一个字符串");
        String S1= sr.next();
        System.out.println(S1);
        System.out.println("请输入第二个字符串");
        String S2= sr.next();
        System.out.println(S2);*/
        Scanner sr = new Scanner(System.in);
        System.out.println("请输入第一个字符串");
        String S1= sr.nextLine();
        System.out.println(S1);
        System.out.println("请输入第二个字符串");
        String S2= sr.nextLine();
        System.out.println(S2);

    }
}
